package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 活动背景音乐
 * </p>
 *
 * @author chenxuebin
 * @since 2019-12-08
 */
@TableName("t_goods_fanli")
public class GoodsFanli extends Model<GoodsFanli> {

    private static final long serialVersionUID = 1L;

	@TableId(value="gid", type= IdType.INPUT)
	private Long gid;

	/**
	 * 自购赠送类型0:无1:送积分2:送现金3:送优惠券；4：虚拟币
	 */
	@TableField("zgfan_type")
	private Integer zgfanType;

	/**
	 * 自购奖励积分|现金|优惠券|虚拟币
	 */
	@TableField("zgfan_mount")
	private Integer zgfanMount;

	/**
	 * 自购奖励类型ID，如券id
	 */
	@TableField("zgfan_ywid")
	private Long zgfanYwid;

	/**
	 * 分享奖励0:无1:送积分2:送现金3:送优惠券
	 */
	@TableField("share_bonus_type")
	private Integer shareBonusType;

	/**
	 * 奖励积分|现金|优惠券
	 */
	@TableField("share_mount")
	private BigDecimal shareMount;

	/**
	 * 分享奖励类型ID，如券id
	 */
	@TableField("share_ywid")
	private Long shareYwid;

	@TableField("fantime_type")
	private Integer fantimeType;

	private BigDecimal fanli1;

	private BigDecimal fanli2;

	private Date createtime;
	private Long creator;
	private Date modifytime;
	private Long modifier;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public Integer getZgfanType() {
		return zgfanType;
	}

	public void setZgfanType(Integer zgfanType) {
		this.zgfanType = zgfanType;
	}

	public Integer getZgfanMount() {
		return zgfanMount;
	}

	public void setZgfanMount(Integer zgfanMount) {
		this.zgfanMount = zgfanMount;
	}

	public Long getZgfanYwid() {
		return zgfanYwid;
	}

	public void setZgfanYwid(Long zgfanYwid) {
		this.zgfanYwid = zgfanYwid;
	}

	public Integer getShareBonusType() {
		return shareBonusType;
	}

	public void setShareBonusType(Integer shareBonusType) {
		this.shareBonusType = shareBonusType;
	}

	public BigDecimal getShareMount() {
		return shareMount;
	}

	public void setShareMount(BigDecimal shareMount) {
		this.shareMount = shareMount;
	}

	public Long getShareYwid() {
		return shareYwid;
	}

	public void setShareYwid(Long shareYwid) {
		this.shareYwid = shareYwid;
	}

	public Integer getFantimeType() {
		return fantimeType;
	}

	public void setFantimeType(Integer fantimeType) {
		this.fantimeType = fantimeType;
	}

	public BigDecimal getFanli1() {
		return fanli1;
	}

	public void setFanli1(BigDecimal fanli1) {
		this.fanli1 = fanli1;
	}

	public BigDecimal getFanli2() {
		return fanli2;
	}

	public void setFanli2(BigDecimal fanli2) {
		this.fanli2 = fanli2;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	@Override
	protected Serializable pkVal() {
		return this.gid;
	}
}
